package com.qidian.mes.md.config;

import com.qidian.mes.md.interceptor.LogInterceptor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Author: 小可怎么都睡不够
 * @Description:
 * @Time: 2024-04-09 10:27
 **/
@Configurable
public class WebConfig implements WebMvcConfigurer {

    @Autowired
    LogInterceptor optionLogInterceptor;
    @Override
    public void addInterceptors(InterceptorRegistry registry) {
        WebMvcConfigurer.super.addInterceptors(registry);
    }
}
